﻿@{
   
    DataHelper.New[] LatestNews = ViewBag.LatestNews;
    DataHelper.New[] BigSaleNews = ViewBag.BigSaleNews;
    DataHelper.SEO seo = ViewBag.SEO;
    int m_iTypeNews = ViewBag.m_iTypeNews;
}


@{
    ViewBag.Title = "Travel";
    Layout = "~/Views/Shared/_Layout_About.cshtml";
}
<style>
    .grid-item {
        text-align: left;
        padding: 10px;
    }

        .grid-item img {
            padding: 0px 10px 0px 0px;
        }
</style>






@{if (LatestNews != null)
  {
      int iLen = LatestNews.Length;
      for (int i = 0; i < iLen; i++)
      {
          string url = "http://thegioivere.net/" + LatestNews[i].Image;
          
    <div class="col_1_of_4 span_1_of_4">
        <div class="grid-item">
            <div>
                <a href="/news/detail/@MDF.Utilites.Helper.StringHelper.ToNonUnicodeAndLower(LatestNews[i].Title).Replace(" ", "-")-@LatestNews[i].ID">
                    <img src="@url" alt=""></a>
            </div>

            <div>
                <h3><span><a style="color: #11B7F2;" href="/news/detail/@MDF.Utilites.Helper.StringHelper.ToNonUnicodeAndLower(LatestNews[i].Title).Replace(" ", "-")-@LatestNews[i].ID">

                    @LatestNews[i].Title
                </a></span></h3>
                <p>
                    @Html.Raw(LatestNews[i].Description)
                </p>
            </div>

            <div style="clear: both; text-align:center;"> <a style="color: #11B7F2; font-style: italic; font-size: 12px;" href="/news/detail/@MDF.Utilites.Helper.StringHelper.ToNonUnicodeAndLower(LatestNews[i].Title).Replace(" ", "-")-@LatestNews[i].ID">Xem thêm...</a></div>
        </div>
        <div class="service-box" style="text-align:right;">
            <span style="font-style: italic; font-size: 11px">Last update
        : @LatestNews[i].UpdatedDate.Value.ToString("dd/MM/yy - HH:mm")</span>
        </div>
    </div>
          
      }
  }
}
@Html.Partial("UserControl/OnDisplayPagging")
